Fix layout of infobar
authorWilliam Jon McCann <william.jon.mccann@gmail.com>
Sat, 3 Aug 2013 12:59:40 +0000 (14:59 +0200)
committerWilliam Jon McCann <william.jon.mccann@gmail.com>
Sat, 3 Aug 2013 13:15:12 +0000 (15:15 +0200)
Make sure the close button is right aligned and centered vertically.

gtk/gtkinfobar.ui

index b5823fa9b4250b53f86ba21cd44d4d41da951aab..97c2c6301f1e3550918e7c3a41de593fe4608050 100644 (file)
@@ -20,6 +20,7 @@
                 <property name="can_focus">False</property>
                 <property name="border_width">8</property>
                 <property name="spacing">16</property>
+                <property name="hexpand">True</property>
                 <child>
                   <placeholder/>
                 </child>
                 <property name="can_focus">True</property>
                 <property name="border_width">6</property>
                 <property name="relief">none</property>
+                <property name="valign">center</property>
                 <style>
                   <class name="raised"/>
-                 <class name="close"/>
+                  <class name="close"/>
                 </style>
                 <child>
                   <object class="GtkImage" id="close_image">